package com.dux.spbtservice.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * Title: AppConfig <br>
 * Description: AppConfig <br>
 * Date: 2018年10月24日
 *
 * @author 王东旭
 * @version 1.0.0
 * @since jdk8
 */

@Configuration
@ConfigurationProperties(prefix = "application")
public class AppConfig {

    /**
     * 使能验证码
     */
    private boolean captcha;

    public boolean isCaptcha() {
        return captcha;
    }

    public void setCaptcha(boolean captcha) {
        this.captcha = captcha;
    }
}
